const mongoose = require('mongoose')
const Schema = mongoose.Schema

let MessageSchema = new Schema({
  opCode: String,
  data: String
})

// Export the model
module.exports = mongoose.model('Message', MessageSchema)